package com.scalar.chiptrack.reports.actioncommands;

import com.scalar.chiptrack.actioncommands.ActionCommand;

/**
 *
 */
public class JasperReportsActionCommandFactory {

    private static JasperReportsActionCommandFactory factory;

    public synchronized static JasperReportsActionCommandFactory getInstance() {
        if (factory == null) {
            factory = new JasperReportsActionCommandFactory();
        }

        return factory;
    }

    private JasperReportsActionCommandFactory() {
    }

    public static ActionCommand getActionCommand(String action) {

        return new GenericJasperReportActionCommand();
    }
}
